package com.zs.toolbox.web2j.system.core.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author shuai.zhang  on 2018/10/8
 * @description
 */
@ApiModel("第三方登陆的返回值数据")
@Data
public class WtOpenUserLoginResponse {

    @ApiModelProperty("用户TOKEN，登陆成功时返回")
    String token;

    @ApiModelProperty("用户OPENID,当用户没有绑定用户时,可通过返回的此openId和手机号进行绑定")
    String openId;


    public WtOpenUserLoginResponse() {
    }

    public WtOpenUserLoginResponse(String token, String openId) {
        this.token = token;
        this.openId = openId;
    }
}
